package com.service;


import java.util.List;
import java.util.Map;

import com.entity.Paper;
import com.entity.Paper_Question;

public interface PaperService {
	public Map list(Map map);
	public Paper get(Integer id);
	public int getCount(Map map);
	public boolean add(Paper q);
	public boolean add(Paper p,int[] id);
	public boolean edit(Paper q);
	public boolean edit(Paper p,int[] id);
	public boolean delete(Integer id);
	public boolean addQuestion(List<Paper_Question> pq);
}
